package com.mode.decorator;

public class Clothes implements AbstractPerson {
    private AbstractPerson person;

    public Clothes(AbstractPerson person) {
        this.person = person;
    }

    @Override
    public void chengping() {
        person.chengping();
        AddRed();
    }

    private void AddRed() {
        System.out.println("穿一件红色衣服");
    }
}
